<div class="panel panel-danger panel-darker hidden-sm hidden-xs ">
    <div class="panel-heading">MUA BÁN - RAO VẶT</div>
    <!--    <div class="panel-body"></div>-->

    <div class="list-group medium">

        <?php foreach(PostCat::model()->getDataAll() as $catData):?>
            <a <?php /* id="cat-<?php echo $catData['alias']?>" rel="popover" data-trigger="hover" data-placement="left" */?> class="show list-group-item <?php if($this->catSelected == $catData['alias']):?>active danger<?php endif?>" href="<?php echo $catData['url']?>">
                <i class="fa fa-<?php echo $catData['icon'];?> fa-border fa-fw small"></i> <?php echo $catData['name']?>
                <span class="badge"><?php echo $catData['post_count']?></span>
            </a>
            <?php /*
            <div id="cat-<?php echo $catData['alias']?>-popover" style="display: none;">
                <div class="list-group">
                    <?php foreach($catData['cats'] as $catChildData):?>
                        <a class="list-group-item <?php if($this->action->id == 'update'):?>active info<?php endif?>" href="<?php echo $catChildData['url']?>">
                            <?php echo $catChildData['name']?>
                            <span class="badge"><?php echo $catChildData['post_count']?></span>
                        </a>   
                    <?php endforeach?>
                </div>
            </div>
            */?>
            <?php endforeach;?>
    </div>

    <?php /*
        <ul class="list-group">
        <?php foreach(PostCat::model()->getDataAll() as $catData):?>
        <li class="list-group-item">
        <span class="badge"><?php echo $catData['post_count']?></span>
        <a class="<?php if($this->action->id == 'update'):?>active info<?php endif?>" href="<?php echo $catData['url']?>">
        <?php echo $catData['name']?></a>
        </li>
        <?php endforeach;?>
        </ul>
    */?>


</div>
